package net.vmiranda.traindroid.business.service;

import java.util.List;

import net.vmiranda.traindroid.beans.buses.PasadaDeAutobus;
import net.vmiranda.traindroid.scrappers.EMTScrapper;

public class BusesService  extends GenericService{
	private static BusesService instance;
	EMTScrapper emtScrapper;
	
	
	private BusesService(){
		emtScrapper = new EMTScrapper();
		
	}
	
	
	public List<PasadaDeAutobus> getInformacionParada(int idParada){
		return emtScrapper.getParadasAutobus(idParada);
	}
	
	
	public static BusesService getInstance(){
		if(instance == null){
			instance = new BusesService();
		}
		return instance;
	}

}
